package oop9;

import oop8.Circle;
import oop8.Shape;

/**
 * @author oldliu
 * @since 1.0
 */
public class ShapeTest2 {
    public static void main(String[] args) {
        //Shape sh=new Shape();//错误，抽象类不能new+
      //  System.out.println("面积是："+sh.calcArea());

        Shape s2=new Circle(23.5);
        System.out.println("面积是："+s2.calcArea());
    }
}
